﻿using System;
using System.Drawing;
using System.Text;
using System.Windows.Forms;
using System.Windows;

namespace YBOT_Field_Control
{
    public partial class frmLocateTowers : Form
    {
        public static int towerID;
        public static int couplerID;
        public static bool clicked = false;
        public static bool allDone = false;

        public frmLocateTowers()
        {
            InitializeComponent();
        }


        private void btnTower1_Click(object sender, EventArgs e)
        {
            towerID = 1;
            btnTower1.BackColor = Color.Red;
            clicked = true;
        }

        private void btnTower2_Click(object sender, EventArgs e)
        {
            towerID = 2;
            btnTower2.BackColor = Color.Red;
            clicked = true;

        }

        private void btnTower3_Click(object sender, EventArgs e)
        {
            towerID = 3;
            btnTower3.BackColor = Color.Red;
            clicked = true;
        }

        private void btnTower4_Click(object sender, EventArgs e)
        {
            towerID = 4;
            btnTower4.BackColor = Color.Red;
            clicked = true;
        }

        private void btnTower5_Click(object sender, EventArgs e)
        {
            towerID = 5;
            btnTower5.BackColor = Color.Red;
            clicked = true;
        }

        private void btnTower6_Click(object sender, EventArgs e)
        {
            towerID = 6;
            btnTower6.BackColor = Color.Red;
            clicked = true;
        }

        private void btnTower7_Click(object sender, EventArgs e)
        {
            towerID = 7;
            btnTower7.BackColor = Color.Red;
            clicked = true;
        }

        private void btnTower8_Click(object sender, EventArgs e)
        {
            towerID = 8;
            btnTower8.BackColor = Color.Red;
            clicked = true;
        }

        private void btnTower9_Click(object sender, EventArgs e)
        {
            towerID = 9;
            btnTower9.BackColor = Color.Red;
            clicked = true;
        }

        private void btnTower10_Click(object sender, EventArgs e)
        {
            towerID = 10;
            btnTower10.BackColor = Color.Red;
            clicked = true;
        }

        private void btnTower11_Click(object sender, EventArgs e)
        {
            towerID = 11;
            btnTower11.BackColor = Color.Red;
            clicked = true;
        }

        private void btnTower12_Click(object sender, EventArgs e)
        {
            towerID = 12;
            btnTower12.BackColor = Color.Red;
            clicked = true;
        }

        private void btnTower13_Click(object sender, EventArgs e)
        {
            towerID = 13;
            btnTower13.BackColor = Color.Red;
            clicked = true;
        }

        private void btnTower14_Click(object sender, EventArgs e)
        {
            towerID = 14;
            btnTower14.BackColor = Color.Red;
            clicked = true;
        }

        private void btnTower15_Click(object sender, EventArgs e)
        {
            towerID = 15;
            btnTower15.BackColor = Color.Red;
            clicked = true;
        }

        private void btndone_Click(object sender, EventArgs e)
        {
            allDone = true;
        }

        private void btnCoupler1_Click(object sender, EventArgs e)
        {
            couplerID = 1;
            btnCoupler1.BackColor = Color.Red;
            clicked = true;
        }

        private void btnCoupler2_Click(object sender, EventArgs e)
        {
            couplerID = 2;
            btnCoupler2.BackColor = Color.Red;
            clicked = true;
        }

        private void btnCoupler3_Click(object sender, EventArgs e)
        {
            couplerID = 3;
            btnCoupler3.BackColor = Color.Red;
            clicked = true;
        }


    }
}
